package com.lize;

public class Cpu {
    public static void main(String[] args) {
        Runtime runtime = Runtime.getRuntime();
        int cpu=runtime.availableProcessors();
        System.out.println(cpu);

    }
}
